package net.oschina.app.pages;

import android.widget.ImageView;
import android.widget.ListView;

import net.oschina.app.SoloWrap;

/**
 * Created by Aaron on 2017/6/18.
 */

public class PageNews {
    ListView list;
    private SoloWrap solo;

    public PageNews(SoloWrap solo) {
        this.solo = solo;
    }

    public void initViews() {
        solo.waitForView(solo.getView("net.oschina.app:id/listView"));
        list = (ListView) solo.getView("net.oschina.app:id/listView");
    }

    public void clickListItem(int row){
        solo.clickInList(row);
    }
}
